import request from '@/utils/request'

// 查询系统日志列表
export function list(query) {
  return request({
    url: '/monitor/sysoutputlog/getsyslog',
    method: 'post',
    params: query
  })
}

// 下载系统日志
export function downOperlog(path) {
  return request({
    url: '/monitor/sysoutputlog/getsyslogdown?pathstr='+path,
    method: 'get'
  })
}

